Optimal. Leaf size=172 \[ -\frac {11}{32} b c d^2 x \sqrt {1+c^2 x^2}-\frac {1}{16} b c d^2 x \left (1+c^2 x^2\right )^{3/2}-\frac {11}{32} b d^2 \sinh ^{-1}(c x)+\frac {1}{2} d^2 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )+\frac {1}{4} d^2 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )+\frac {d^2 \left (a+b \sinh ^{-1}(c x)\right )^2}{2 b}+d^2 \left (a+b \sinh ^{-1}(c x)\right ) \log \left (1-e^{-2 \sinh ^{-1}(c x)}\right )-\frac {1}{2} b d^2 \text {PolyLog}\left (2,e^{-2 \sinh ^{-1}(c x)}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.16, antiderivative size = 172, normalized size of antiderivative = 1.00, number of steps
used = 12, number of rules used = 8, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {5801, 5775,
3797, 2221, 2317, 2438, 201, 221} \begin {gather*} \frac {1}{4} d^2 \left (c^2 x^2+1\right )^2 \left (a+b \sinh ^{-1}(c x)\right )+\frac {1}{2} d^2 \left (c^2 x^2+1\right ) \left (a+b \sinh ^{-1}(c x)\right )+\frac {d^2 \left (a+b \sinh ^{-1}(c x)\right )^2}{2 b}+d^2 \log \left (1-e^{-2 \sinh ^{-1}(c x)}\right ) \left (a+b \sinh ^{-1}(c x)\right )-\frac {1}{16} b c d^2 x \left (c^2 x^2+1\right )^{3/2}-\frac {11}{32} b c d^2 x \sqrt {c^2 x^2+1}-\frac {1}{2} b d^2 \text {Li}_2\left (e^{-2 \sinh ^{-1}(c x)}\right )-\frac {11}{32} b d^2 \sinh ^{-1}(c x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 201
Rule 221
Rule 2221
Rule 2317
Rule 2438
Rule 3797
Rule 5775
Rule 5801
Rubi steps
\begin {align*} \int \frac {\left (d+c^2 d x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )}{x} \, dx &=\frac {1}{4} d^2 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )+d \int \frac {\left (d+c^2 d x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )}{x} \, dx-\frac {1}{4} \left (b c d^2\right ) \int \left (1+c^2 x^2\right )^{3/2} \, dx\\ &=-\frac {1}{16} b c d^2 x \left (1+c^2 x^2\right )^{3/2}+\frac {1}{2} d^2 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )+\frac {1}{4} d^2 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )+d^2 \int \frac {a+b \sinh ^{-1}(c x)}{x} \, dx-\frac {1}{16} \left (3 b c d^2\right ) \int \sqrt {1+c^2 x^2} \, dx-\frac {1}{2} \left (b c d^2\right ) \int \sqrt {1+c^2 x^2} \, dx\\ &=-\frac {11}{32} b c d^2 x \sqrt {1+c^2 x^2}-\frac {1}{16} b c d^2 x \left (1+c^2 x^2\right )^{3/2}+\frac {1}{2} d^2 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )+\frac {1}{4} d^2 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )+d^2 \text {Subst}\left (\int (a+b x) \coth (x) \, dx,x,\sinh ^{-1}(c x)\right )-\frac {1}{32} \left (3 b c d^2\right ) \int \frac {1}{\sqrt {1+c^2 x^2}} \, dx-\frac {1}{4} \left (b c d^2\right ) \int \frac {1}{\sqrt {1+c^2 x^2}} \, dx\\ &=-\frac {11}{32} b c d^2 x \sqrt {1+c^2 x^2}-\frac {1}{16} b c d^2 x \left (1+c^2 x^2\right )^{3/2}-\frac {11}{32} b d^2 \sinh ^{-1}(c x)+\frac {1}{2} d^2 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )+\frac {1}{4} d^2 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )-\frac {d^2 \left (a+b \sinh ^{-1}(c x)\right )^2}{2 b}-\left (2 d^2\right ) \text {Subst}\left (\int \frac {e^{2 x} (a+b x)}{1-e^{2 x}} \, dx,x,\sinh ^{-1}(c x)\right )\\ &=-\frac {11}{32} b c d^2 x \sqrt {1+c^2 x^2}-\frac {1}{16} b c d^2 x \left (1+c^2 x^2\right )^{3/2}-\frac {11}{32} b d^2 \sinh ^{-1}(c x)+\frac {1}{2} d^2 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )+\frac {1}{4} d^2 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )-\frac {d^2 \left (a+b \sinh ^{-1}(c x)\right )^2}{2 b}+d^2 \left (a+b \sinh ^{-1}(c x)\right ) \log \left (1-e^{2 \sinh ^{-1}(c x)}\right )-\left (b d^2\right ) \text {Subst}\left (\int \log \left (1-e^{2 x}\right ) \, dx,x,\sinh ^{-1}(c x)\right )\\ &=-\frac {11}{32} b c d^2 x \sqrt {1+c^2 x^2}-\frac {1}{16} b c d^2 x \left (1+c^2 x^2\right )^{3/2}-\frac {11}{32} b d^2 \sinh ^{-1}(c x)+\frac {1}{2} d^2 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )+\frac {1}{4} d^2 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )-\frac {d^2 \left (a+b \sinh ^{-1}(c x)\right )^2}{2 b}+d^2 \left (a+b \sinh ^{-1}(c x)\right ) \log \left (1-e^{2 \sinh ^{-1}(c x)}\right )-\frac {1}{2} \left (b d^2\right ) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 \sinh ^{-1}(c x)}\right )\\ &=-\frac {11}{32} b c d^2 x \sqrt {1+c^2 x^2}-\frac {1}{16} b c d^2 x \left (1+c^2 x^2\right )^{3/2}-\frac {11}{32} b d^2 \sinh ^{-1}(c x)+\frac {1}{2} d^2 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )+\frac {1}{4} d^2 \left (1+c^2 x^2\right )^2 \left (a+b \sinh ^{-1}(c x)\right )-\frac {d^2 \left (a+b \sinh ^{-1}(c x)\right )^2}{2 b}+d^2 \left (a+b \sinh ^{-1}(c x)\right ) \log \left (1-e^{2 \sinh ^{-1}(c x)}\right )+\frac {1}{2} b d^2 \text {Li}_2\left (e^{2 \sinh ^{-1}(c x)}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 173, normalized size = 1.01 \begin {gather*} \frac {d^2 \left (-16 a^2+24 a b+32 a b c^2 x^2+8 a b c^4 x^4-13 b^2 c x \sqrt {1+c^2 x^2}-2 b^2 c^3 x^3 \sqrt {1+c^2 x^2}-16 b^2 \sinh ^{-1}(c x)^2+32 a b \log \left (1-e^{2 \sinh ^{-1}(c x)}\right )+b \sinh ^{-1}(c x) \left (-32 a+b \left (13+32 c^2 x^2+8 c^4 x^4\right )+32 b \log \left (1-e^{2 \sinh ^{-1}(c x)}\right )\right )+16 b^2 \text {PolyLog}\left (2,e^{2 \sinh ^{-1}(c x)}\right )\right )}{32 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 3.34, size = 231, normalized size = 1.34
method | result | size |
derivativedivides | \(\frac {a \,d^{2} c^{4} x^{4}}{4}+a \,d^{2} c^{2} x^{2}+a \,d^{2} \ln \left (c x \right )+\frac {13 b \,d^{2} \arcsinh \left (c x \right )}{32}-\frac {d^{2} b \arcsinh \left (c x \right )^{2}}{2}+d^{2} b \polylog \left (2, -c x -\sqrt {c^{2} x^{2}+1}\right )+d^{2} b \polylog \left (2, c x +\sqrt {c^{2} x^{2}+1}\right )+d^{2} b \arcsinh \left (c x \right ) c^{2} x^{2}+\frac {d^{2} b \arcsinh \left (c x \right ) c^{4} x^{4}}{4}-\frac {d^{2} b \,c^{3} x^{3} \sqrt {c^{2} x^{2}+1}}{16}-\frac {13 b c \,d^{2} x \sqrt {c^{2} x^{2}+1}}{32}+d^{2} b \arcsinh \left (c x \right ) \ln \left (1-c x -\sqrt {c^{2} x^{2}+1}\right )+d^{2} b \arcsinh \left (c x \right ) \ln \left (1+c x +\sqrt {c^{2} x^{2}+1}\right )\) | \(231\) |
default | \(\frac {a \,d^{2} c^{4} x^{4}}{4}+a \,d^{2} c^{2} x^{2}+a \,d^{2} \ln \left (c x \right )+\frac {13 b \,d^{2} \arcsinh \left (c x \right )}{32}-\frac {d^{2} b \arcsinh \left (c x \right )^{2}}{2}+d^{2} b \polylog \left (2, -c x -\sqrt {c^{2} x^{2}+1}\right )+d^{2} b \polylog \left (2, c x +\sqrt {c^{2} x^{2}+1}\right )+d^{2} b \arcsinh \left (c x \right ) c^{2} x^{2}+\frac {d^{2} b \arcsinh \left (c x \right ) c^{4} x^{4}}{4}-\frac {d^{2} b \,c^{3} x^{3} \sqrt {c^{2} x^{2}+1}}{16}-\frac {13 b c \,d^{2} x \sqrt {c^{2} x^{2}+1}}{32}+d^{2} b \arcsinh \left (c x \right ) \ln \left (1-c x -\sqrt {c^{2} x^{2}+1}\right )+d^{2} b \arcsinh \left (c x \right ) \ln \left (1+c x +\sqrt {c^{2} x^{2}+1}\right )\) | \(231\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} d^{2} \left (\int \frac {a}{x}\, dx + \int 2 a c^{2} x\, dx + \int a c^{4} x^{3}\, dx + \int \frac {b \operatorname {asinh}{\left (c x \right )}}{x}\, dx + \int 2 b c^{2} x \operatorname {asinh}{\left (c x \right )}\, dx + \int b c^{4} x^{3} \operatorname {asinh}{\left (c x \right )}\, dx\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (a+b\,\mathrm {asinh}\left (c\,x\right )\right )\,{\left (d\,c^2\,x^2+d\right )}^2}{x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________